package com.ye.spring.pojo;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Clazz {

    private Integer id;

    private String name;

    private List<User> users;

    private Map<String, Teacher> teacherMap;

    private User[] userArr;

    public Clazz() {
    }

    public User[] getUserArr() {
        return userArr;
    }

    public void setUserArr(User[] userArr) {
        this.userArr = userArr;
    }

    public Map<String, Teacher> getTeacherMap() {
        return teacherMap;
    }

    public void setTeacherMap(Map<String, Teacher> teacherMap) {
        this.teacherMap = teacherMap;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "Clazz{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", users=" + users +
                ", teacherMap=" + teacherMap +
                ", userArr=" + Arrays.toString(userArr) +
                '}';
    }
}
